FROM dquintela/openjdk-8-jdk-alpine
RUN apk --no-cache add curl
CMD java ${JAVA_OPTS} -jar dockerdemo.jar
HEALTHCHECK --start-period=30s --interval=5s CMD curl http://localhost:8082/actuator/health
COPY target/dockerdemo.jar .